package com.project.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.bean.GradeBean;
import com.project.mapper.IGradeMapper;
import com.project.service.IGradeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GradeServiceImpl implements IGradeService {
    @Autowired
    private IGradeMapper gradeMapper;
    @Override
    public List<GradeBean> findAllGrade() {
        QueryWrapper<GradeBean> qw = new QueryWrapper<>();
        return gradeMapper.selectList(qw);
    }
}
